package org.jeecg.modules.medication_order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 药房订单
 * @Author: jeecg-boot
 * @Date:   2025-06-20
 * @Version: V1.0
 */
@Data
@TableName("medication_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="medication_order对象", description="药房订单")
public class MedicationOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**总价*/
	@Excel(name = "总价", width = 15)
    @ApiModelProperty(value = "总价")
    private java.lang.String totalPrice;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;
    @Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userName;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.String code;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15)
    @ApiModelProperty(value = "订单状态")
    private java.lang.String status;
    /**
     * 商户订单号
     */
    @Excel(name = "商户订单号", width = 15)
    @ApiModelProperty(value = "商户订单号")
    private java.lang.String outTradeNo;
    /**
     * 订单摘要
     */
    @Excel(name = "订单摘要", width = 50)
    @ApiModelProperty(value = "订单摘要")
    private java.lang.String orderText;
    /**
     * 微信标识
     */
    @Excel(name = "微信标识", width = 40)
    @ApiModelProperty(value = "微信标识")
    private java.lang.String prepayid;

    @Excel(name = "商户号", width = 40)
    @ApiModelProperty(value = "商户号")
    private java.lang.String mchId;

    @Excel(name = "监护人id", width = 40)
    @ApiModelProperty(value = "监护人id")
    private java.lang.String familyId;

    @Excel(name = "监护人姓名", width = 40)
    @ApiModelProperty(value = "监护人姓名")
    private java.lang.String familyName;

    @Excel(name = "监护人id", width = 40)
    @ApiModelProperty(value = "监护人id")
    private java.lang.String nurseId;

    @Excel(name = "监护人姓名", width = 40)
    @ApiModelProperty(value = "监护人姓名")
    private java.lang.String nurseName;

    @Excel(name = "是否审核", width = 15)
    @ApiModelProperty(value = "是否审核")
    private java.lang.String isAuth;

    @Excel(name = "是否拆分", width = 100)
    @ApiModelProperty(value = "是否拆分")
    private String  isapart;

    @Excel(name = "费率", width = 100)
    @ApiModelProperty(value = "费率")
    private String  rate;

    @Excel(name = "护士手机", width = 100)
    @ApiModelProperty(value = "护士手机")
    private String  nursephone;

    @Excel(name = "护工身份证", width = 100)
    @ApiModelProperty(value = "护工身份证")
    private String  nurseidcard;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "退款日期")
    private java.util.Date refundTime;

    @Excel(name = "退款编号", width = 100)
    @ApiModelProperty(value = "退款编号")
    private String  refundNumber;
}
